home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
- Begin VB.Form frmDocMaster
- Caption = "Document 1"
- ClientHeight = 3195
- ClientLeft = 60
- ClientTop = 630
- ClientWidth = 6720
- LinkTopic = "Form1"
- MDIChild = -1 'True
- ScaleHeight = 3195
- ScaleWidth = 6720
- Begin RichTextLib.RichTextBox Text1
- Height = 3105
- Left = 45
- TabIndex = 0
- Top = 45
- Width = 6630
- _ExtentX = 11695
- _ExtentY = 5477
- _Version = 393217
- Enabled = -1 'True
- ScrollBars = 3
- TextRTF = $"DocMaster.frx":0000
- End
- Begin VB.Menu mnuFile
- Caption = "File"
- Begin VB.Menu mnuFileOpen
- Caption = "Open"
- End
- Begin VB.Menu mnuFilePreview
- Caption = "Preview"
- End
- Begin VB.Menu mnuFileExit
- Caption = "Exit"
- End
- End
- Attribute VB_Name = "frmDocMaster"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- ' DocMaster.frm
- Option Explicit
- Private Sub Form_Load()
- Text1.Move 0, 0, frmFrame.ScaleWidth - 100, frmFrame.ScaleHeight - 100
- mnuFileOpen_Click
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- End
- End Sub
- Private Sub mnuFileOpen_Click()
- Text1.LoadFile App.Path & "\Untitled.rtf"
- End Sub
- Private Sub mnuFilePreview_Click()
- frmDocPreview.Show vbModal
- If gprint = True Then
- frmDocPreview.DocPrintProc
- End If
- End Sub
- Private Sub mnuFileExit_Click()
- End
- End Sub
-